package com.ethink.order.api.model;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author default
 * @version 1.0.0
 * @ClassName TobSaleAndSettleModel.java
 * @Description
 * @createTime 2022年11月18日 18:30:00
 */
@Data
public class TobSaleAndSettleModel {

    @Schema(description ="PO单号")
    private String poOrderNo;

    @Schema(description ="PR单号")
    private String prOrderNo;

    @Schema(description = "预售制单时间")
    private Date preSaleTime;

    @Schema(description = "结算日期")
    private Date settleTime;

    @Schema(description = "总量")
    private Integer total;

    @Schema(description = "成本总价")
    private BigDecimal costs;

    @Schema(description = "销售总额")
    private BigDecimal saleAmount;

    @Schema(description = "总毛利额")
    private BigDecimal profitAmount;

    @Schema(description ="发货分仓名称")
    private String outSubWarehouseName;

    @Schema(description ="订单来源")
    private String saleChannel;

    @Schema(description ="订单来源下级")
    private String saleSubChannel;


}
